package com.yiren.dbaa.module.practice_set.line.contract;

import com.yiren.backstage.currency.entity.LineInfoEntity;
import com.yiren.dbaa.currency.api.CommonCallBack;

/**
 * @author lwb
 * @date : 2022/11/16 17:11
 * @description:  线路发布
 */
public interface LineReleaseContract {

    interface Presenter {
        /**
         * 发布线路
         * @param lineInfo
         * @param userId
         * @param updateDetails
         * @param updateMode
         */
        void releaseLine(LineInfoEntity lineInfo, String userId, String updateDetails, int updateMode);
    }
    interface Model {

        /**
         * 发布线路
         */
        void publishLine(LineInfoEntity lineInfo, String userId, String updateDetails, int updateMode, CommonCallBack callBack);

    }

    interface View {
    }


}
